package com.ctshk.rpc.finance.req.special;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 特殊收款-收入来源req
 */
@Data
@ApiModel(value = "CollectionSourceReq",description = "特殊收款-收入来源req")
public class CollectionSourceReq implements Serializable {

    @NotNull(message = "来源ID不能为空")
    @ApiModelProperty(value = "来源ID",required = true)
    private Long id;

    @NotNull(message = "收款金额不能为空")
    @ApiModelProperty(value = "收款金额",required = true)
    private BigDecimal collectionAmount;

}
